package com.wootide.cms.service.consumables.consumablesInfo.action;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.interceptor.ServletRequestAware;

import com.wootide.cms.common.Constants;
import com.wootide.cms.common.Page;
import com.wootide.cms.common.QueryCondition;
import com.wootide.cms.log.syslog.RunLog;
import com.wootide.cms.service.consumables.consumablesInfo.pojo.ConsumablesReqRecord;
import com.wootide.cms.service.consumables.consumablesInfo.service.ConsumablesInfoService;
import com.wootide.cms.service.consumables.consumablesInfo.service.ConsumablesReqRecordService;
import com.wootide.cms.service.consumables.consumablesInfo.service.ConsumablesTypeInfoService;
import com.wootide.cms.service.consumables.supplier.service.SupplierInfoService;
import com.wootide.cms.sys.common.action.BaseAction;

public class ConsumablesReqRecordAction extends BaseAction implements
		ServletRequestAware 
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
     * 日志信息
     */
    private RunLog runLog;
    
    /**
     * 
     */
    private ConsumablesReqRecordService consumablesReqRecordService;
    
    /**
     * 易耗品类型信息业务实体类
     */
    private ConsumablesTypeInfoService consumablesTypeInfoService;
    
    /**
     * 易耗品信息业务实体类
     */
    private ConsumablesInfoService consumablesInfoService;
    
    /**
     * 
     */
    private SupplierInfoService supplierInfoService;
    
    /**
     * 易耗品信息
     */
    private ConsumablesReqRecord consumablesReqRecord;
    
    /**
     * 分页信息
     */
    private Page page;
    
    /**
     * 查询条件
     */
    private QueryCondition queryConditon;
    
    /**
     * HTTP请求对象
     */
    private HttpServletRequest request;
    
    /**
     * 结果集
     */
    @SuppressWarnings("rawtypes")
	private List results;
    /**
     * 
     */
    private String message;
    
    /**
     * 是否操作成功
     */
    private Integer actResult = Constants.ACTRESULT_DEF;
    
    /**
     * 易耗品领用记录信息ID
     */
    private Integer innerIndex;
    
    /**
     * 易耗品领用记录信息集合
     */
    private Integer[] innerIndexs;
    
	/**
	 * 获取系统HttpServletRequest实例
	 */
	public void setServletRequest(HttpServletRequest request) {

		this.request = request;

	}


	public ConsumablesReqRecord getConsumablesReqRecord() {
		return consumablesReqRecord;
	}


	public void setConsumablesReqRecord(ConsumablesReqRecord consumablesReqRecord) {
		this.consumablesReqRecord = consumablesReqRecord;
	}


	public Page getPage() {
		return page;
	}


	public void setPage(Page page) {
		this.page = page;
	}


	public QueryCondition getQueryConditon() {
		return queryConditon;
	}


	public void setQueryConditon(QueryCondition queryConditon) {
		this.queryConditon = queryConditon;
	}


	public HttpServletRequest getRequest() {
		return request;
	}


	public void setRequest(HttpServletRequest request) {
		this.request = request;
	}


	public List getResults() {
		return results;
	}


	public void setResults(List results) {
		this.results = results;
	}


	public String getMessage() {
		return message;
	}


	public void setMessage(String message) {
		this.message = message;
	}


	public Integer getActResult() {
		return actResult;
	}


	public void setActResult(Integer actResult) {
		this.actResult = actResult;
	}


	public Integer getInnerIndex() {
		return innerIndex;
	}


	public void setInnerIndex(Integer innerIndex) {
		this.innerIndex = innerIndex;
	}


	public Integer[] getInnerIndexs() {
		return innerIndexs;
	}


	public void setInnerIndexs(Integer[] innerIndexs) {
		this.innerIndexs = innerIndexs;
	}


	public void setRunLog(RunLog runLog) {
		this.runLog = runLog;
	}


	public void setConsumablesReqRecordService(
			ConsumablesReqRecordService consumablesReqRecordService) {
		this.consumablesReqRecordService = consumablesReqRecordService;
	}


	public void setConsumablesTypeInfoService(
			ConsumablesTypeInfoService consumablesTypeInfoService) {
		this.consumablesTypeInfoService = consumablesTypeInfoService;
	}


	public void setSupplierInfoService(SupplierInfoService supplierInfoService) {
		this.supplierInfoService = supplierInfoService;
	}


	public void setConsumablesInfoService(
			ConsumablesInfoService consumablesInfoService) {
		this.consumablesInfoService = consumablesInfoService;
	}

}
